package com.black.cat.seed.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import javax.validation.constraints.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 隐患服务报告关联的任务项
 *
 * @author blackcat
 * @since 2021-04-14
 */
@Data
@ApiModel(description = "隐患服务报告关联的任务项")
public class SceneDefectTask  extends  BaseEntity  implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull()
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "隐患报告id")
    private Integer defectId;

    @ApiModelProperty(value = "类型：专用,通用")
    private String type;

    @ApiModelProperty(value = "服务编号")
    private String serviceNo;

    @ApiModelProperty(value = "检查小类")
    private String subType;

    @ApiModelProperty(value = "隐患类型")
    private String defectType;

    @ApiModelProperty(value = "是否有隐患")
    private String isDefect;

    @ApiModelProperty(value = "创建人ID")
    private String creator;

    @ApiModelProperty(value = "创建人时间")
    @TableField(
            fill = FieldFill.INSERT
    )
    private Date createTime;

    @ApiModelProperty(value = "修改人ID")
    private String updator;

    @ApiModelProperty(value = "修改时间")
    @TableField(
            fill = FieldFill.INSERT_UPDATE
    )
    private Date updateTime;

    private Boolean del;

}
